<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Inicio de la Aplicacion o Login</title>
</head>
<body>
	<form action="login">
		<table border = "0">
			<tr>
				<th>Nombre</th>
				<th>Contraseña</th>
			</tr>
			<tr>
				<td><input type="text" name="usuario"></td>
				<td><input type="password" name="contrasenia"></td>
			</tr>
			<tr>
				<td><input type="submit"></td>
			</tr>
			<tr>
			
				<% if (request.getSession().getAttribute("error") != null) {
					out.println("<td>"+request.getSession().getAttribute("error")+"</td>");
				} %>
			</tr>	
		</table>
	</form>
</body>
</html>